package com.albaba.designpattern.state_pattern.text_003;

/**
 * @Description: TODO
 * @Author zx
 * @Date 2025/2/25 16:01
 * @Version 1.0
 */
public class Client {

    public static void main(String[] args) {
        TrafficLight trafficLight = new TrafficLight();
        trafficLight.switchToGreen();
        trafficLight.switchToYellow();
        trafficLight.switchToRed();
    }

}
